let routes=[
  {
    path:"/dashborad",
    name:"首页",
    id :10,
    pid:0,
  },
  {
    path:"/user",
    name:"用户管理",
    id :11,
    pid:0,
  },
  {
    path:"/insertUser",
    name:"新增用户",
    id :12,
    pid:11,
  },
  {
    path:"/frozeUser",
    name:"冻结用户",
    id :13,
    pid:11,
  },
  {
    path:"/billManage",
    name:"单据管理",
    id :14,
    pid:0,
  },
  {
    path:"/purchaseBill",
    name:"采购单",
    id :15,
    pid:14,
  },
  {
    path:"/insertPBill",
    name:"新增采购",
    id :16,
    pid:15,
  },
  {
    path:"/auditPBill",
    name:"审核采购",
    id :17,
    pid:15,
  },
]
export default routes;
/*
let results =   {
  path:"/root",
  name:"虚拟",
  id :0,
  pid:-1000,
  children:[
    {
      path:"/dashborad",
      name:"首页",
      id :10,
      pid:0,
      children: []
    },
    {
      path:"/user",
      name:"用户管理",
      id :11,
      pid:0,
      children:[
        {
          path:"/insertUser",
          name:"新增用户",
          id :12,
          pid:11,
          children:[]
        },
        {
          path:"/frozeUser",
          name:"冻结用户",
          id :13,
          pid:11,
          children:[]
        },
      ]
    },
    {
      path:"/billManage",
      name:"单据管理",
      id :14,
      pid:0,
    },
  ]
}*/
